'\" t
.TH "SYSTEMD\-HIBERNATE\-RESUME\&.SERVICE" "8" "" "systemd 257" "systemd-hibernate-resume.service"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
systemd-hibernate-resume.service, systemd-hibernate-clear.service, systemd-hibernate-resume \- Resume from hibernation
.SH "SYNOPSIS"
.PP
systemd\-hibernate\-resume\&.service
.PP
systemd\-hibernate\-clear\&.service
.PP
/usr/lib/systemd/systemd\-hibernate\-resume
.SH "DESCRIPTION"
.PP
systemd\-hibernate\-resume\&.service
initiates the resume from hibernation\&.
.PP
\fBsystemd\-hibernate\-resume\fR
only supports the in\-kernel hibernation implementation, see
\m[blue]\fBSwap suspend\fR\m[]\&\s-2\u[1]\d\s+2\&. Internally, it works by writing the major:minor of selected device node to
/sys/power/resume, along with the offset in memory pages (/sys/power/resume_offset) if supported\&.
.PP
The resume device node is either passed directly through arguments, or automatically acquired from kernel command line options and/or
\fIHibernateLocation\fR
EFI variable\&. The latter will normally be cleared by
systemd\-hibernate\-resume\&.service
on resumption\&. If a stale variable is detected, it would be cleared by
systemd\-hibernate\-clear\&.service\&.
.PP
Failing to initiate a resume is not an error condition\&. It may mean that there was no resume image (e\&. g\&. if the system has been simply powered off and not hibernated)\&. In such cases, the boot is ordinarily continued\&.
.SH "SEE ALSO"
.PP
\fBsystemd\fR(1), \fBsystemd-hibernate-resume-generator\fR(8)
.SH "NOTES"
.IP " 1." 4
Swap suspend
.RS 4
\%https://docs.kernel.org/power/swsusp.html
.RE
